$user-avatar-border-size: 4px;
$user-avatar-size: 152px;

.profile-header-main {
  position: relative;
  margin: 0 20px 24px;
}

// 用户头像部分的样式
.profile-header-avatar {
  position: absolute;
  top: -24px;
  left: 0;
}
.user-avatar {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  background-color: #fff;
  border: $user-avatar-border-size solid #fff;
  border-radius: 50%;
}
.user-avatar-img {
  vertical-align: top;
  width: $user-avatar-size;
  height: $user-avatar-size;
  border-radius: 50%;
}

// 用户头像右侧部分的样式
.profile-header-content {
  padding-top: 16px;
  padding-left: 28px;
  border-left: ($user-avatar-size + $user-avatar-border-size * 2) solid transparent;
}
.profile-header-content-head {
  position: relative;
  padding-right: 106px;
  margin-bottom: 16px;

  .button--plain {
    position: absolute;
    top: 8px;
    right: 0;
  }
}
.profile-header-title {
  flex: 1 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-header-name {
  font-size: 26px;
  font-weight: 600;
  line-height: 30px;
}
.profile-header-headline {
  margin-left: 12px;
  font-size: 18px;
  white-space: nowrap;
}
.profile-header-content-body {
  position: relative;
  overflow: hidden;
  transition: height 300ms ease-out 0s;
  width: 524px;
}
.profile-header-content-footer {
  position: relative;
  padding-top: 8px;
}
.profile-header-buttons {
  position: absolute;
  right: 0;
  bottom: 0;
}

.profile-header-expand-button {
  line-height: 1;
}

.profile-header-info {
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}
.profile-header-info-item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  &:not(:last-child) {
    margin-bottom: 10px;
  }
}
.profile-header-icon-wrapper {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  text-align: center;
  color: #8590a6;
}

.profile-header-detail {
  width: 100%;
  font-size: 14px;
  line-height: 1.8;
  color: #121212;
}
.profile-header-detail-item {
  display: flex;
  margin-bottom: 18px;
}
.profile-header-detail-label {
  width: 100px;
  margin-right: 37px;
  font-weight: 600;
}
.profile-header-detail-value {
  flex: 1 1;
  overflow: hidden;
}
.profile-header-info {
  position: absolute;
  top: 0;
}

.upload-picture-wrapper {
  cursor: pointer;
}
